/**
 * 商品评分相关样式
 */

.rating-container {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.rating-summary {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.rating-average {
    font-size: 24px;
    font-weight: bold;
    margin-right: 15px;
    color: #ff5722;
}

.rating-count {
    color: #999;
    font-size: 14px;
}

.rating-stars {
    margin: 10px 0;
    cursor: pointer;
}

.rating-stars i {
    color: #ffc107;
    margin-right: 5px;
    font-size: 20px;
}

.rating-stars i.far {
    color: #ddd;
}

.rating-form {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
}

.rating-form textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.rating-form button {
    padding: 8px 20px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.rating-form button:hover {
    background-color: #45a049;
}

.rating-list {
    margin-top: 30px;
}

.rating-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.rating-user {
    font-weight: bold;
    margin-bottom: 5px;
}

.rating-score {
    color: #ffc107;
    margin-bottom: 10px;
}

.rating-score i {
    margin-right: 3px;
}

.rating-comment {
    line-height: 1.6;
    color: #333;
}

.rating-time {
    color: #999;
    font-size: 12px;
    margin-top: 10px;
} 